home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 8: LINUX Games / Linux Cubed Series 8 - LINUX Games.iso / games / x11 / strategy / xpuzzles.3 / xpuzzles / xpuzzles-5.3.1 / xmlink / Mlink.h < prev    next >
C/C++ Source or Header  |  1996-02-05  |  2KB  |  91 lines

  1. /*
  2. # X-BASED MISSING LINK(tm)
  3. #
  4. #  Mlink.h
  5. #
  6. ###
  7. #
  8. #  Copyright (c) 1994 - 96    David Albert Bagley, bagleyd@hertz.njit.edu
  9. #
  10. #                   All Rights Reserved
  11. #
  12. #  Permission to use, copy, modify, and distribute this software and
  13. #  its documentation for any purpose and without fee is hereby granted,
  14. #  provided that the above copyright notice appear in all copies and
  15. #  that both that copyright notice and this permission notice appear in
  16. #  supporting documentation, and that the name of the author not be
  17. #  used in advertising or publicity pertaining to distribution of the
  18. #  software without specific, written prior permission.
  19. #
  20. #  This program is distributed in the hope that it will be "playable",
  21. #  but WITHOUT ANY WARRANTY; without even the implied warranty of
  22. #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  23. #
  24. */
  25.  
  26. /* Public header file for Mlink */
  27.  
  28. #ifndef _XtMlink_h
  29. #define _XtMlink_h
  30.  
  31. /***********************************************************************
  32.  *
  33.  * Mlink Widget
  34.  *
  35.  ***********************************************************************/
  36.  
  37. #define XtNselectCallback "selectCallback"
  38. #define XtNtiles "tiles"
  39. #define XtNfaces "faces"
  40. #define XtNorient "orient"
  41. #define XtNmiddle "middle"
  42. #define XtNmono "mono"
  43. #define XtNbase "base"
  44. #define XtNstart "start"
  45. #define XtNtileColor "tileColor"
  46. #define XtNtileBorder "tileBorder"
  47. #define XtNfaceColor0 "faceColor0"
  48. #define XtNfaceColor1 "faceColor1"
  49. #define XtNfaceColor2 "faceColor2"
  50. #define XtNfaceColor3 "faceColor3"
  51. #define XtNfaceColor4 "faceColor4"
  52. #define XtNfaceColor5 "faceColor5"
  53. #define XtNfaceColor6 "faceColor6"
  54. #define XtNfaceColor7 "faceColor7"
  55. #define XtCTiles "Tiles"
  56. #define XtCFaces "Faces"
  57. #define XtCOrient "Orient"
  58. #define XtCMiddle "Middle"
  59. #define XtCMono "Mono"
  60. #define XtCBase "Base"
  61. #define MLINK_RESTORE (-5)
  62. #define MLINK_RESET (-4)
  63. #define MLINK_BLOCKED (-3)
  64. #define MLINK_SPACE (-2)
  65. #define MLINK_IGNORE (-1)
  66. #define MLINK_MOVED 0
  67. #define MLINK_SOLVED 1
  68. #define MLINK_CONTROL 2
  69. #define MLINK_RANDOMIZE 3
  70. #define MLINK_ORIENT 4
  71. #define MLINK_MIDDLE 5
  72. #define MLINK_DEC_X 6
  73. #define MLINK_INC_X 7
  74. #define MLINK_DEC_Y 8
  75. #define MLINK_INC_Y 9
  76. #define MLINK_COMPUTED 10
  77. #define MLINK_UNDO 11
  78.  
  79. typedef struct _MlinkClassRec *MlinkWidgetClass;
  80. typedef struct _MlinkRec *MlinkWidget;
  81.  
  82. extern WidgetClass mlinkWidgetClass;
  83.  
  84. typedef struct {
  85.   XEvent *event;
  86.   int reason;
  87. } mlinkCallbackStruct;
  88.  
  89. #endif _XtMlink_h
  90. /* DON'T ADD STUFF AFTER THIS #endif */
  91.